import request from "../utils/request";
const userApi = {
	Login: "/wx/login",
	getinfo: "/wxUser/wxUsersearch",
	Logout: '/wx/logout',
}


export function login(parameter) {
	return request({
		url: userApi.Login,
		method: 'post',
		data: parameter
	})
}
export function getinfo() {
	return request({
		url: userApi.getinfo,
		method: 'get'
	})
}
export function logout() {
	return request({
		url: userApi.Logout,
		method: 'get'
	})
}